import 'package:flutter/material.dart';//dartUI包

/*
点击列表后加载的页面
*/
class InfoPages extends StatefulWidget{

  //接收点击列表页传递来的参数
  InfoPages({Key key, this.index}) : super(key:key);
  final String index;

  @override
  _InfoPagesState createState() => _InfoPagesState();
}

class _InfoPagesState extends State<InfoPages>{
  @override
  Widget build(BuildContext context) {

    // TODO: implement build
    return Scaffold(
      appBar: AppBar(title: const Text("研招-列表内容")),
      body: Center(
        child: Text("我是第"+widget.index+"个页面"),
      ),
    );
  }
}